package com.home.qh.service;

import java.util.List;
import java.util.Set;

import com.home.qh.model.AdditionalClause;
import com.home.qh.model.Booking;
import com.home.qh.model.City;
import com.home.qh.model.TransFreight;
import com.home.qh.model.TransGoodsDesc;
import com.home.qh.model.TransParty;

/**
 * Business Service Interface to handle communication between web and
 * persistence layer.
 *
 * @author <a href="mailto:dan@getrolling.com">Dan Kibler </a>
 */
public interface BookingManager extends GenericManager<Booking, Long> {
//	List<Booking> getCityByCodeAndName(String cityCode, String cityName);
    
	List<Booking> getBookingByBooking(Booking booking, String sort, boolean desc, int startResult, int maxResults);

	List<TransParty> getTransPartyByBooking(long parseLong);

	List<AdditionalClause> getAdditionalClauseByBooking(long bookingId);

	List<TransFreight> getTransFreightByBooking(long bookingId);

	List<TransGoodsDesc> getTransGoodsDescByBooking(long bookingId);

	int getOrderNumber();
}
